﻿using System;
using PM.BusinessLayer;

public partial class Login : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnLogin_Click(object sender, EventArgs e)
    {
        try
        {
            AppSecurityContext.Login(txtLogin.Text, txtPassword.Text);
        }
        catch (Exception ex)
        {
            lblError.Visible = true;
        }
    }
}
